package com.lyf.task.dao;

import java.util.List;

import com.lyf.task.domain.Trade;

public interface TradeMapper {

	public List<Trade> getAllTrade();

	public List<Trade> getAllTradeByPid(int pid);

	public int insertTrade(Trade trade);

	public void updateTrade(Trade trade);

	public void deleteTrade(Trade trade);

	public Trade getTradeByTid(String tid);

	public Trade getTradeByUid(String uid);

	public Trade getTradeByPid(String pid);

}
